package top.igotcha.eduservice.client;

import org.springframework.stereotype.Component;
import top.igotcha.commonutils.utils.R;

import java.util.List;

/**
 * @author Gotcha
 * @date 2021/8/9
 * @describe 出错后会执行
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{
    @Override
    public R removeAliYunVideo(String videoId) {
        return R.ERROR().message("删除视频出错了");
    }

    @Override
    public R removeBatchAliYunVideo(List<String> videoList) {
        System.out.println("删除多个视频出错了");
        return R.ERROR().message("删除多个视频出错了");
    }
}
